$OpenBSD: patch-configure,v 1.4 2013/11/02 08:44:19 ajacoutot Exp $
--- configure.orig	Sat Dec 29 04:28:03 2007
+++ configure	Sat Nov  2 08:45:49 2013
@@ -2519,7 +2519,7 @@ ac_config_headers="$ac_config_headers config.h"
 
 
 # Specify the liba2ps version number
-LIBVERSION=1:0:0
+LIBVERSION=2:0:0
 
 GNU_PACKAGE="GNU $PACKAGE"
 
@@ -30855,7 +30855,7 @@ echo "${ECHO_T}$ac_cv_prog_file_link_option" >&6; };
 
 
 # How to send things in the printer queue
-for ac_prog in lp lpr
+for ac_prog in lpr
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -32475,8 +32475,8 @@ if test "$COM_psselect" = "#"; then
 else
   # There is one.  Check version > MAJOR.MINOR
   ac_prog_psselect_banner=`psselect -v 2>&1 | sed 1q`
-  ac_prog_psselect_release=`set -- $ac_prog_psselect_banner && echo $3`
-  ac_prog_psselect_patch=`set -- $ac_prog_psselect_banner && echo $5`
+  ac_prog_psselect_release=`set -- $ac_prog_psselect_banner && echo $2 | sed 's/\..*//'`
+  ac_prog_psselect_patch=`set -- $ac_prog_psselect_banner && echo $2 | sed 's/^.*\.//g'`
   test ${ac_prog_psselect_release}0 -lt 10 && COM_PSUTILS="#"
   test ${ac_prog_psselect_patch}0 -lt 170 && COM_PSUTILS="#"
 fi
@@ -33785,10 +33785,10 @@ GMSGFMT!$GMSGFMT$ac_delim
 XGETTEXT!$XGETTEXT$ac_delim
 MSGMERGE!$MSGMERGE$ac_delim
 USE_NLS!$USE_NLS$ac_delim
-LIBICONV!$LIBICONV$ac_delim
+LIBICONV!$LTLIBICONV$ac_delim
 LTLIBICONV!$LTLIBICONV$ac_delim
-INTLLIBS!$INTLLIBS$ac_delim
-LIBINTL!$LIBINTL$ac_delim
+INTLLIBS!$LTLIBINTL$ac_delim
+LIBINTL!$LTLIBINTL$ac_delim
 LTLIBINTL!$LTLIBINTL$ac_delim
 POSUB!$POSUB$ac_delim
 EXTRA_CFLAGS!$EXTRA_CFLAGS$ac_delim
@@ -33804,20 +33804,20 @@ LPR!$LPR$ac_delim
 LPR_QUEUE_OPTION!$LPR_QUEUE_OPTION$ac_delim
 MEDIUM!$MEDIUM$ac_delim
 ENCODING!$ENCODING$ac_delim
-COM_gv!$COM_gv$ac_delim
+COM_gv!$ac_delim
 gv!$gv$ac_delim
 COM_ghostview!$COM_ghostview$ac_delim
 ghostview!$ghostview$ac_delim
-COM_DISPLAY!$COM_DISPLAY$ac_delim
+COM_DISPLAY!$ac_delim
 COM_gzip!$COM_gzip$ac_delim
 gzip!$gzip$ac_delim
-COM_bzip!$COM_bzip$ac_delim
+COM_bzip!$ac_delim
 bzip!$bzip$ac_delim
-COM_bzip2!$COM_bzip2$ac_delim
+COM_bzip2!$ac_delim
 bzip2!$bzip2$ac_delim
-COM_dvips!$COM_dvips$ac_delim
+COM_dvips!$ac_delim
 dvips!$dvips$ac_delim
-COM_convert!$COM_convert$ac_delim
+COM_convert!$ac_delim
 convert!$convert$ac_delim
 COM_netscape!$COM_netscape$ac_delim
 netscape!$netscape$ac_delim
@@ -33825,14 +33825,14 @@ COM_html2ps!$COM_html2ps$ac_delim
 html2ps!$html2ps$ac_delim
 COM_acroread!$COM_acroread$ac_delim
 acroread!$acroread$ac_delim
-COM_pdf2ps!$COM_pdf2ps$ac_delim
+COM_pdf2ps!$ac_delim
 pdf2ps!$pdf2ps$ac_delim
 COM_acroread4!$COM_acroread4$ac_delim
 COM_distill!$COM_distill$ac_delim
 distill!$distill$ac_delim
-COM_ps2pdf!$COM_ps2pdf$ac_delim
+COM_ps2pdf!$ac_delim
 ps2pdf!$ps2pdf$ac_delim
-COM_PS2PDF!$COM_PS2PDF$ac_delim
+COM_PS2PDF!$ac_delim
 COM_psselect!$COM_psselect$ac_delim
 psselect!$psselect$ac_delim
 COM_psnup!$COM_psnup$ac_delim
@@ -33842,12 +33842,12 @@ COM_grog!$COM_grog$ac_delim
 grog!$grog$ac_delim
 COM_makeinfo!$COM_makeinfo$ac_delim
 makeinfo!$makeinfo$ac_delim
-COM_tex!$COM_tex$ac_delim
+COM_tex!$ac_delim
 tex!$tex$ac_delim
 COM_latex!$COM_latex$ac_delim
 latex!$latex$ac_delim
 COM_TEXI!$COM_TEXI$ac_delim
-COM_LATEX!$COM_LATEX$ac_delim
+COM_LATEX!$ac_delim
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 LTALLOCA!$LTALLOCA$ac_delim
 subdirs!$subdirs$ac_delim
